// 电子签章-查询条件配置
export const formOption = {
    size: 'mini',
    inline: true,
    labelWidth: '160px',
    itemData: [
        {
            type: 'input',
            prop: 'prjCode',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '项目编码'
        },
        {
            type: 'input',
            prop: 'prjName',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '项目名称'
        },
        {
            type: 'select',
            prop: 'docType',
            value: '',
            label: '文件类型',
            width: '',
            colSpan: 6,
            dicType: 'DOC_TYPE',
            clearable: true,
            dicProp: {
                label: 'DOCNAME',
                value: 'DOCTYPE'
            }
        },
        {
            type: 'select',
            prop: 'signState',
            value: '',
            width: '',
            colSpan: 6,
            label: '签署状态',
            clearable: true,
            dicType: 'SIGN_STATE2',
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        }
    ]
}
// 电子签章-列表表头配置
export const colOption = [
    { label: '项目编码', width: '', prop: 'prjCode' },
    { label: '项目名称', width: '', prop: 'prjName' },
    { label: '供应商名称', width: '160', prop: 'supplierName' },
    { label: '文件类型', width: '180', prop: 'docTypeName' },
    { label: '文件名称', width: '', prop: 'docName' },
    { label: '生成人', width: '120', prop: 'docCreatedBy' },
    { label: '生成时间', width: '160', prop: 'docCreateTime' },
    { label: '签署状态', width: '100', prop: 'signState', dicType: 'SIGN_STATE2', dicProp: { label: 'dictName', value: 'dictId' }},
]

// 电子签章-列表按钮配置
export const btnOption = [
  { index: '0', label: '选择项目', fun: 'selectPrjFun', type: '' },
  { index: '1', label: '签字', fun: 'confirmSign', type: '' },
  { index: '2', label: '指派签署人', fun: 'assign', type: '' },
  { index: '3', label: '盖章', fun: 'stamp', type: '' },
  { index: '4', label: '批量盖章', fun: 'batchStamp', type: '' },
  { index: '5', label: '验签', fun: 'visa', type: '' },
  { index: '6', label: '删除', fun: 'delete', type: '' },
  { index: '7', label: '上传附件', fun: 'upload', type: '' },
  { index: '8', label: '下载附件', fun: 'download', type: '' }
]
